package com.ruoyi.event.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.annotation.UserDrugInfo;
import com.ruoyi.common.annotation.UserMemberInfo;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 人员转期视图对象 event_zq
 *
 * @author strongme
 * @date 2023-02-16
 */
@Data
@ExcelIgnoreUnannotated
public class EventZqVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long zqId;

    /**
     * 人员id
     */
    @ExcelProperty(value = "人员id")
    private Long userId;

    @UserDrugInfo
    public Object getUserInfo() {
        return userId;
    }

    /**
     * 工作人员id
     */
    @ExcelProperty(value = "工作人员id")
    private Long memberId;

    @UserMemberInfo
    public Object getMemberInfo() {
        return memberId;
    }

    /**
     * 目标人员期数
     */
    @ExcelProperty(value = "目标人员期数", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sjsk_term_type")
    private String targetTermType;

    /**
     * 原人员期数
     */
    @ExcelProperty(value = "原人员期数", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sjsk_term_type")
    private String previousTermType;

    /**
     * 审核状态
     */
    @ExcelProperty(value = "审核状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "shzt")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
